package com.msy.mai.module.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.msy.mai.module.system.entity.domain.SysRole;
import com.msy.mai.module.system.entity.vo.SysRoleVo;

import java.util.Collection;
import java.util.List;
import java.util.Set;

/**
* @author Wang
* @description 针对表【sys_role(角色信息表)】的数据库操作Service
* @createDate 2024-10-27 19:20:41
*/
public interface SysRoleService extends IService<SysRole> {

    Set<String> selectRolePermissionByUserId(Long userId);

    List<SysRoleVo> selectRolesByUserId(Long userId);
}
